package com.jmyd.coupon.server.mapper;

import com.jmyd.coupon.server.domain.dto.SceneCouponUsedRecordQueryDto;
import com.jmyd.coupon.server.domain.po.SceneCouponUseRecord;
import com.jmyd.coupon.server.domain.vo.SceneCouponUseRecordVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author samphin
 * @since 2021/7/14 16:15
 */
public interface SceneCouponUseRecordMapper extends Mapper<SceneCouponUseRecord> {
    int batchInsert(@Param("list") List<SceneCouponUseRecord> list);

    int insertOrUpdate(SceneCouponUseRecord record);

    int insertOrUpdateSelective(SceneCouponUseRecord record);

    List<SceneCouponUseRecordVo> selectList(SceneCouponUsedRecordQueryDto queryDto);


}